package user;

public class User {
	private Integer user_id;
	private String user_name;
	private String user_password;
	private Boolean user_available;
	private Integer[] user_rules;

	public Integer[] getUser_rules() {
		return user_rules;
	}

	public void setUser_rules(Integer[] user_rules) {
		this.user_rules = user_rules;
	}

	public Integer getUser_id() {
		return user_id;
	}

	public void setUser_id(Integer user_id) {
		this.user_id = user_id;
	}

	public String getUser_name() {
		return user_name;
	}

	public void setUser_name(String user_name) {
		this.user_name = user_name;
	}

	public String getUser_password() {
		return user_password;
	}

	public void setUser_password(String user_password) {
		this.user_password = user_password;
	}

	public Boolean getUser_available() {
		return user_available;
	}

	public void setUser_available(Boolean user_available) {
		this.user_available = user_available;
	}

	public User() {
		super();
	}

	public User(String user_name, String user_password, Boolean user_available,
			Integer[] user_rules) {
		super();
		this.user_name = user_name;
		this.user_password = user_password;
		this.user_available = user_available;
		this.user_rules = user_rules;
	}

	/**
	 * ËùÓÐ×Ö¶Î
	 * 
	 * @param user_id
	 * @param user_name
	 * @param user_password
	 * @param user_available
	 */

	public User(Integer user_id, String user_name, String user_password,
			Boolean user_available, Integer[] user_rules) {
		super();
		this.user_id = user_id;
		this.user_name = user_name;
		this.user_password = user_password;
		this.user_available = user_available;
		this.user_rules = user_rules;
	}

}
